import IMOne2OneCommentLinker from '../im/IMOne2OneCommentLinker';
import HeartLoveRequestChatOneAction from '../../actions/heart/HeartLoveRequestChatOneAction';
import HeartLoveSendChatAction from '../../actions/heart/HeartLoveSendChatAction';

//秘密留言链接
export default class UserManagerChatLinker extends IMOne2OneCommentLinker {
  constructor(props) {
    super(props);
  }

  _dealSendMessage(message) {
    new HeartLoveSendChatAction().call(this, {target_id:this._talkerData.msguser_id,
      content:message, type:3})
  }

  _sendAction(page) {
    new HeartLoveRequestChatOneAction().call(this, {page:page,
      target_id:this._talkerData.msguser_id, type:3, forceRequest:true});
  }
}
